<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
  // var num = 1023.5n
  // var num1 = BigInt(1023.5)
  // var num2 = 1023

  // console.log(typeof num)       // bigint
  // console.log(typeof num1)   // bigint

  console.log(1024n / 2)
  // console.log(1025n / 2)
  // console.log(typeof num2 )   // number
</script>
</html>